/**
 * 线圈数据
 * @property {number} circumference 线圈周长
 * @property {number} color 颜色，十六进制(example: 0xffffff)
 * @property {string} path 遵循策略的资源路径
 */
export class ColiData {
    constructor(circumference, color, path) {
        this.circumference = circumference;
        this.color = color;
        this.path = path;
    }
}

/**
 * 珠子数据
 * @property {number} radius 半径
 * @property {string} path 遵循策略的资源路径
 */
export class BeadData {
    constructor(radius, path) {
        this.radius = radius;
        this.path = path;
    }
}

/**
 * 手串数据
 * @property {ColiData} coli 线圈数据
 * @property {BeadData[]} beads 珠子数据数组，每个元素是一个BeadData对象
 */
export class BraceleData {
    constructor(coli, beads = []) {
        this.coli = coli;
        this.beads = beads;
    }
}